from interface.wifiClient import WifiManger


class GObject:
    """
    GObject类
    """
    def __init__(self):
        self.wifi = WifiManger()

class GData:
    """
    GObject类
    """
    def __init__(self):
        self.HomeAssistant_URL = "http://homeassistant.local:8123/dashboard-unknown/miot"                     # HA的URL
        self.NEEDED = ["DISPLAY","WAYLAND_DISPLAY","DBUS_SESSION_BUS_ADDRESS","XDG_RUNTIME_DIR","XAUTHORITY"] # 需传入的桌面环境变量
        self.wifi_name ="SEEED_Solution"                                                                      # 热点名称
        self.wifi_password ="chck1208"

GObj = GObject()    # 全局对象
GDat = GData()      # 全局数据